package com.venta.autopartes.car;

import org.apache.commons.lang.WordUtils;

public class Color {
	private int colorId;
	private String color;
	private String hexadecimal;
	
	public Color(int colorId, String color, String hexadecimal){
		this.colorId=colorId;
		this.color=color;
		this.hexadecimal=hexadecimal;
	}
	
	public int getColorId() {
		return colorId;
	}
	public void setColorId(int colorId) {
		this.colorId = colorId;
	}
	
	public String getColor() {
		return WordUtils.capitalizeFully(color);
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getHexadecimal() {
		return hexadecimal;
	}
	public void setHexadecimal(String hexadecimal) {
		this.hexadecimal = hexadecimal;
	}
	
	
}
